package edu.ncst.baseweb.controller.web;

import cn.wintersun.basecommon.common.Result;
import edu.ncst.baseweb.dao.web.LabMember;
import edu.ncst.baseweb.service.intrer.web.LabMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping(value = "/web/lab_member")
public class LabMemberController {
    @Autowired
    private LabMemberService LabMemberService;

    //列表
    @RequestMapping(value = "list",method = RequestMethod.GET)
    public Result<List<LabMember>> list(){
        System.out.println("这是实验室人员的信息");
        return LabMemberService.list();
    }
}